const axios = require('_axios@0.21.4@axios')

axios({
    method: 'POST',
    url: 'http://127.0.0.1:8888/api/private/v1/',
    data: {
      username: 'Fred',
      password: 'Flintstone'
    }
}).then(res => {
    console.log(res.data);
})